<clickhouse>
    <listen_host>0.0.0.0</listen_host>

    <!-- Default protocols -->
    <tcp_port>9000</tcp_port>
    <http_port>8123</http_port>
    <mysql_port>9004</mysql_port>
    <tcp_port_secure>9440</tcp_port_secure>

    <openSSL>
        <server>
            <certificateFile>/etc/clickhouse-server/config.d/server.crt</certificateFile>
            <privateKeyFile>/etc/clickhouse-server/config.d/server.key</privateKeyFile>
        </server>
    </openSSL>

    <!-- Custom protocols -->
    <protocols>
        <tcp>
            <type>tcp</type>
            <host>0.0.0.0</host>
            <port>9001</port>
            <description>native protocol (tcp)</description>
        </tcp>
        <http>
            <type>http</type>
            <port>8124</port>
            <description>http protocol</description>
        </http>
    </protocols>
</clickhouse>
